#include<bits/stdc++.h>
using namespace std;

double f(double x){
	return 2*x*x*x-4*x*x+3*x-2;
}

double ff(double x){
	return 6*x*x-8*x+3;
}

int main(){
	double x1=1.5,x2;
	x2=x1-f(x1)/ff(x1);
	while(fabs(x2-x1)>=1e-7){
		x1=x2;
		x2=x1-f(x1)/ff(x1);
	}
	printf("root=%.6lf\n",x2);
	return 0;
}




